package com.fowo.api.sys.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fowo.api.sys.entity.SysArea;
import com.fowo.api.sys.model.SysAreaSearchParamPo;

@Mapper
public interface SysAreaMapper extends BaseMapper<SysArea> {
    List<SysArea> search(@Param("search") SysAreaSearchParamPo search);
    Long getIdByName(@Param("name") String name);
}
